package ch01.strategy;

/**
 * Created by zc on 2016/11/20.
 */
public class Context {

    private IStrategy strategy = null;

    public Context(IStrategy strategy) {
        this.strategy = strategy;
    }

    public void doSomething(){
        this.strategy.doSomething();
    }
}
